/* eslint-disable @typescript-eslint/no-explicit-any */
/**
 * EmployeeDTO
 */
export interface EmployeeDTO {
  /**
   * 员工id
   */
  id?: number
  /**
   * 身份证
   */
  idNumber: string
  /**
   * 姓名
   */
  name: string
  /**
   * 手机号
   */
  phone: string
  /**
   * 性别
   */
  sex: Sex
  /**
   * 用户名
   */
  username: string
  [property: string]: unknown
}

/**
 * 性别
 */
export enum Sex {
  The0 = '0',
  The1 = '1',
}

export interface EmployeePageQuery {
  /**
   * 员工姓名
   */
  name?: string
  /**
   * 页码
   */
  page: string
  /**
   * 每页记录数
   */
  pageSize: string
}

export interface EmployeePageResponse {
  code: number
  data: Data
  msg?: null
  [property: string]: any
}

export interface Data {
  records: Record[]
  total: number
  [property: string]: any
}

export interface Record {
  createTime: null | string
  createUser: number | null
  id: number
  idNumber: string
  name: string
  password: string
  phone: string
  sex: string
  status: number
  updateTime: string
  updateUser: number
  username: string
  [property: string]: any
}
